package com.web.model.qo;

import com.web.model.Register;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Entity
@ApiModel(value = "认证申请参数",description = "认证申请参数")
public class RegisterAppendQo extends Register {

    @NotBlank(message = "真实名字不能为空")
    private String realName;

    @NotBlank(message = "认证照片1不能为空")
    private String registerPhoto1;

    @NotBlank(message = "认证照片2不能为空")
    private String registerPhoto2;

    @NotBlank(message = "电话不能为空")
    private String phone;

    @NotNull(message = "学校信息不能为空")
    private Long schoolId;

    @NotBlank(message = "年级不能为空")
    private String grade;

    @NotBlank(message = "学院信息不能为空")
    private String colleges;
}
